import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
import render from '@dfeidao/atom-web/render/render';
import p001 from './p001';

export default async function a001(fd: IFeidaoAiBrowserComponent) {
	//搜索
	const n = fd.data.node.querySelector<HTMLInputElement>('[data-id="sub_process_des"]');
	const sub_des = n.value;

	const res = await nodejs('processing-set/zj-000003/s001', {
		filter: {
			page_no: 1,
			sub_process_des: sub_des,

		}
	});
	console.log(res);
	render(fd, res, p001, 'p001', 'inner');

}
